package com.xxg.jdeploy.mapper;

import java.util.List;

import com.xxg.jdeploy.domain.HostDeploy;
import com.xxg.jdeploy.domain.HostInfo;
import com.xxg.jdeploy.domain.JavaDeployInfo;
import com.xxg.jdeploy.domain.JavaWebDeployInfo;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface HostDeployMapper {

	@Select("select uuid,plat from host_deploy")
	List<HostDeploy> getList();

	@Select("select uuid,plat from host_deploy where plat=#{plat}")
	HostDeploy getDetail(int plat);

	@Insert("insert into host_deploy (uuid,plat) values (#{uuid},#{plat})")
	void insert(HostDeploy HostDeploy);
	
	@Select("delete from host_deploy where uuid=#{uuid}")
	void delete(String uuid);

}